import request from '@/plugins/axios/request';
// let baseURL = "http://127.0.0.1:3000/facilities"
let baseURL = process.env.VUE_APP_BASE_API + "/publish"

// 查询共享信息列表
export function getPublicDataList(queryParams) {
  return request({
    url: `${baseURL}/publicData`,
    method: 'GET',
    params: queryParams,
  })
}

// 查询发布列表
export function getPublishDataDataList(queryParams) {
  return request({
    url: `${baseURL}/publishData`,
    method: 'GET',
    params: queryParams,
  })
}